﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiAnProxy
{

    public enum ProxyType
    {
        /// <summary>
        /// Socket代理
        /// </summary>
        [Description("Socket代理")]
        Socket = 1,
        /// <summary>
        /// Http代理
        /// </summary>
        [Description("Http代理")] 
        Http = 2,

    }
    /// <summary>
    /// SocketModel
    /// </summary>
    public class ProxyModel
    {
        public string ProxyName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public ProxyType ProxyType { get; set; }
       // public string ProxyTypeView { get; set; }
        /// <summary>
        /// 代理地址
        /// </summary>
        public string ProxyIp { get; set; }
        /// <summary>
        /// 代理端口
        /// </summary>
        public int ProxyPort { get; set; }

        /// <summary>
        /// 目标地址
        /// </summary>
        public string TargetIp { get; set; }
        /// <summary>
        /// 目标端口
        /// </summary>
        public int TargetPort { get; set; }
        /// <summary>
        /// 超时时间
        /// </summary>
        public int TargetTimeOut { get; set; }
        /// <summary>
        /// 最大处理数
        /// </summary>
        public int ProxyMax { get; set; }
    }
}
